﻿using System;
using System.Collections.Generic;
using System.Text;

using GDModel.Enum;

namespace GDModel.Model
{
    [Serializable]
    public class NPC
    {
        private int m_id;
        /// <summary>
        /// ID
        /// </summary>
        public int Id
        {
            get { return m_id; }
            set { m_id = value; }
        }

        private string m_name;
        /// <summary>
        /// NPC名称
        /// </summary>
        public string Name
        {
            get { return m_name; }
            set { m_name = value; }
        }

        private NPCType m_type;
        /// <summary>
        /// NPC类型
        /// </summary>
        public NPCType Type
        {
            get { return m_type; }
            set { m_type = value; }
        }


        public NPC(int id, string name, NPCType type)
        {
            this.m_id = id;
            this.m_name = name;
            this.m_type = type;
        }

        public NPC() { }



    }

}
